function encipher(e) {
    var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
        , a = "="
        , o = function (e) {
        var o, s = "", i = e.length;
        for (o = 0; i - 2 > o; o += 3)
            s += t[e.charCodeAt(o) >> 2],
                s += t[((3 & e.charCodeAt(o)) << 4) + (e.charCodeAt(o + 1) >> 4)],
                s += t[((15 & e.charCodeAt(o + 1)) << 2) + (e.charCodeAt(o + 2) >> 6)],
                s += t[63 & e.charCodeAt(o + 2)];
        return i % 3 && (o = i - i % 3,
            s += t[e.charCodeAt(o) >> 2],
            i % 3 == 2 ? (s += t[((3 & e.charCodeAt(o)) << 4) + (e.charCodeAt(o + 1) >> 4)],
                s += t[(15 & e.charCodeAt(o + 1)) << 2],
                s += a) : (s += t[(3 & e.charCodeAt(o)) << 4],
                s += a + a)),
            s
    };
    return o(e)
}

let e = '101453601'
console.log(encipher(e))
